package cn.iocoder.yudao.module.shop.convert.crossorder;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.crossorder.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.crossorder.ShopCrossOrderDO;

/**
 * 跨店铺 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopCrossOrderConvert {

    ShopCrossOrderConvert INSTANCE = Mappers.getMapper(ShopCrossOrderConvert.class);

    ShopCrossOrderDO convert(ShopCrossOrderCreateReqVO bean);

    ShopCrossOrderDO convert(ShopCrossOrderUpdateReqVO bean);

    ShopCrossOrderRespVO convert(ShopCrossOrderDO bean);

    List<ShopCrossOrderRespVO> convertList(List<ShopCrossOrderDO> list);

    PageResult<ShopCrossOrderRespVO> convertPage(PageResult<ShopCrossOrderDO> page);

    List<ShopCrossOrderExcelVO> convertList02(List<ShopCrossOrderDO> list);

}
